<?php
$result = rename("./uploads/test.txt", "./uploads/test.php");
if ($result) {
  echo "rename success";
} else {
  echo "rename error";
}
